//
//  NProblemModell.h
//  nncloud
//
//  Created by gdy on 2018/9/26.
//  Copyright © 2018年 youedata. All rights reserved.
//

#import <Foundation/Foundation.h>

//#define ProblemCellTypeOne    @"1"    //title
//
//#define ProblemCellTypeTwo    @"2"    //内容
//
//#define ProblemCellTypeThree  @"3"  //回复

#define ProblemCellTypeTTitle      @"T_title"

#define ProblemCellTypeTContent      @"T_Content"

#define ProblemCellTypeNormal     @"1_1"   //  纯文本

#define ProblemCellTypeImages      @"2_2"   //主动回复  有图片

#define ProblemCellTypeAddContent     @"1_2"   // 自动回复  添加答复内容

//#define ProblemCellTypeFour  @"4"  //图片
//
//#define ProblemCellTypeFive  @"5"  //

#define cNameColor   0x535455
#define cTimeColor   0xa2a3a4
#define cContentColor   0x656667


@interface NProblemModel : NSObject

@property (nonatomic, copy) NSString *questionId;
@property (nonatomic, copy) NSString *questionPid;
@property (nonatomic, copy) NSString *questionCode;
@property (nonatomic, copy) NSString *questionUserId;
@property (nonatomic, copy) NSString *questionUserName;
@property (nonatomic, copy) NSString *questionOfficeId;
@property (nonatomic, copy) NSString *questionOfficeName;
@property (nonatomic, copy) NSString *questionTitle;
/**内容*/
@property (nonatomic, copy) NSString *questionContent;
/**用户头像*/
@property (nonatomic, copy) NSString *questionUserUrl;
/**类型:1咨询,2投诉,3建议*/
@property (nonatomic, copy) NSString *questionType;
@property (nonatomic, copy) NSString *questionPrivilege;
/**回复状态:0主动回复，1自动回复*/
@property (nonatomic, copy) NSString *questionStatus;
/**问题进度：0待审核,1等待受理，2已受理，3已转交相关部门，4自行解答，5等待用户确认,6等待用户评价,7已评价,8已关闭,9审核未通过,10删除 */
@property (nonatomic, copy) NSString *questionProgress;

//标记是否收藏
@property (nonatomic, copy) NSString *questionCollet;


//标记是否有权限操作相关内容
@property (nonatomic, copy) NSString *questionAuth;

@property (nonatomic, copy) NSString *questionCreateBy;
@property (nonatomic, copy) NSString *questionUpdateBy;
@property (nonatomic, copy) NSString *questionUpdateTime;
@property (nonatomic, copy) NSString *questionCreateTime;
@property (nonatomic, copy) NSString *questionErrorMsg;
@property (nonatomic, copy) NSString *questionView;
@property (nonatomic, copy) NSString *childList;
@property (nonatomic, strong) NSArray *attachmentList;// 附件数组   （图片）


@property (nonatomic, copy) NSString *cellType;


/**
 根据Progress得到 进度显示的textColor

 @param progress 进度
 @return UIColor
 */
+ (UIColor *)getProgressColorWithProgress:(NSString *)progress;

@end
